package com.spica.platform.threadpool.disruptor.event;

import com.spica.platform.threadpool.disruptor.AsyncThreadContext;
import com.spica.platform.threadpool.disruptor.callback.Action;
import lombok.Data;

/**
 * 事件对象
 */
@Data
public class BossEvent {

    private String channel;

    private BaseEvent event;

    private AsyncThreadContext context;
    
    private Action action;

    public void clear() {
        channel = null;
        event = null;
        context = null;
    }
}